//
//  SelectView.h
//  SelectControl
//
//  Created by Summer on 15/12/23.
//  Copyright © 2015年 Summer. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SelectItem.h"

@interface SelectView : UIView

/** 答案模型 **/
@property(nonatomic, strong, nullable) NSArray * optionModels;

/** 当前选中的Item - 如果当前没有选中则返回 nil **/
@property(nonatomic, weak, readonly) SelectItem * currentSelectItem;

/** 选中Item回调闭包 **/
@property(nonatomic, copy) void(^__nullable selectItemCall)(OptionModel * __nullable model);

/** 取消选中Item **/
- (void)cancelSelected;

@end
